#!/bin/bash
# commit="${1:-$(pbpaste)}"
commit="${1:-HEAD}"
shift

if [ -z "$commit" ]
then
  echo "gd1 <commit>"
  exit 1
fi

set -x
#exec git diff "${commit}~1" "${commit}" "$@"
exec scrap-git-diff "${commit}~1" "${commit}" "$@"

